:root {
    color: rgba(255, 255, 255, 0.87);
    font-weight: 400;
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    background-color: #242424;
    prefers-color-scheme: light dark;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

a {
    color: #646cff;
    font-weight: 500;
    text-decoration: inherit;
}

a:hover {
    color: #535bf2;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background-color: rgb(240, 248, 255);
}

h1 {
    font-size: 3.2em;
    line-height: 1.1;
}

button {
    padding: 0.6em 1.2em;
    font-weight: 500;
    font-size: 1em;
    font-family: inherit;
    background-color: #1a1a1a;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.25s;
}

button:hover {
    border-color: #646cff;
}

button:focus,
button:focus-visible {
    outline: 4px auto -webkit-focus-ring-color;
}

.card {
    padding: 2em;
}

html, body, #app {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#app {
    max-width: 1280px;
    margin: 0 auto;
    color: #2c3e50;
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-container {
    box-sizing: border-box;
    height: calc(100vh - 2 * var(--van-tabbar-height));
    padding: 0;
    overflow: auto;
}

@media (prefers-color-scheme: light) {
    :root {
        color: #213547;
        background-color: #fff;
    }

    a:hover {
        color: #747bff;
    }

    button {
        background-color: #f9f9f9;
    }
}
